<template>
	<view class="content">
		<view class="item" @click="toGame('https://guess.gbn.group/game/game4/index.html')">
			加减算术
		</view>
		
		<view class="item" @click="toGame('https://guess.gbn.group/game/game3/index.html')">
			2048
		</view>
		
		<view class="item" @click="toGame('https://guess.gbn.group/game/game2/game.html')">
			切割果冻
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
			}
		},
		onLoad() {
			
		},
		methods:{
			toGame(val){
				uni.navigateTo({
					url:'game-url?url='+val
				})
			}
		}
	}
</script>

<style>
	.content{
		margin: 20rpx;
	}
	.item{
		text-align: center;
		margin: 10rpx;
		background-color: #87a7d6;
		color: #fff;
		border-radius: 15rpx;
		padding: 20rpx;
		margin-bottom: 25rpx;
	}
	
</style>
